﻿using System;
using System.IO;

namespace YArchitech.Controls.HeaderGridView
{
	public class HeaderFile
	{
		public HeaderFile(FileInfo fi)
		{
			this.FileInfo = fi;
		}

		public string Name
		{
			get
			{
				return this.FileInfo.Name.Substring(0, this.FileInfo.Name.Length - 4);
			}
		}

		public FileInfo FileInfo;
	}
}
